﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    RegistrarDepartamento
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <link rel="stylesheet" href="http://code.jquery.com/ui/1.9.0/themes/base/jquery-ui.css" />
    <script src="../../../Scripts/Validaciones.js" type="text/javascript"></script>
    <script src="../../../Scripts/AreaComun.js" type="text/javascript"></script>
    <link rel="Stylesheet" type="text/css" media="screen" href="../../../Content/Edificio.css" />

    <h1>Registrar Departamento</h1>
    <br />

    <label class="Obligatorio" style="color: Red">Los campos con (*) son obligatorios</label>
    <br></br> 


    <label for="Edificio">Edificio: (*)</label>
    <select id="Edificio" onchange="cargarPisos()" class="text ui-widget-content ui-corner-all"></select>
    <br></br>
                 
    <label for="Tipo">Tipo: (*)</label>
    <select id="Tipo" class="text ui-widget-content ui-corner-all"></select>
    <br></br>

    <label for="Pisito">Piso: (*)</label>
    <select id="Pisito" class="text ui-widget-content ui-corner-all"></select>
    <br></br>

    <label for="Numero">Número: (*)</label>
    <input type="text" id="Numero" class="text ui-widget-content ui-corner-all" maxlength="18"/>
    <label id="errorNumero" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label for="Area">Área: (*)</label>
    <input type="text" id="Area" class="text ui-widget-content ui-corner-all" maxlength="18"/>
    <label id="errorArea" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label for="Habitaciones">N° Habitaciones: (*)</label>
    <input type="text" id="Habitacion" class="text ui-widget-content ui-corner-all" maxlength="50"/>
    <label id="errorHabitacion" class="erroresClase" style="color: Red"></label>
    <br></br>

    <label for="Banios">N° Baños: (*)</label>
    <input type="text" id="Banio" class="text ui-widget-content ui-corner-all" maxlength="50"/>
    <label id="errorBanio" class="erroresClase" style="color: Red"></label>
    <br></br>
    

    <input type="submit" id = "botonRegistro" value="Registrar" class="submit-button"/>
    <input type="submit" id = "botonCancelar" value="Cancelar" class="submit-button" />
   

</asp:Content>
